<form class="form-horizontal" method="post">
	<input type="hidden" name="action" value="new_popup" />
	
	<div class="control-group">
		<label class="control-label" for="fromdate">팝업시작일</label>
		<div class="controls"><input type="text" name="fromdate" id="fromdate" required value="<?php echo date("Y/m/d H:i:s")?>" autofocus /></div>
	</div>
	
	<div class="control-group">
		<label class="control-label" for="todate">팝업종료일</label>
		<div class="controls"><input type="text" name="todate" id="todate" required value="<?php echo date("Y/m/d H:i:s", time()+3600*24)?>" /></div>
	</div>
	
	<div class="control-group">
		<label class="control-label" for="width">창크기</label>
		<div class="controls">
			가로 : <input type="text" name="width" id="width" required style="width:50px" />
			세로 : <input type="text" name="height" id="height" required style="width:50px" />
		</div>
	</div>
	
	<div class="control-group">
		<label class="control-label" for="left">창위치</label>
		<div class="controls">
			좌측 : <input type="text" name="left" id="left" required style="width:50px" />
			상단 : <input type="text" name="top" id="top" required style="width:50px" />
		</div>
	</div>
	
	<div class="control-group">
		<label class="control-label" for="background">바탕색</label>
		<div class="controls">
			<input type="text" name="background" id="background" required style="width:80px" value="#FFFFFF" />
		</div>
	</div>
	
	<div class="control-group">
		<label class="control-label" for="color">글씨색</label>
		<div class="controls">
			<input type="text" name="color" id="color" required style="width:80px" value="#333333" />
		</div>
	</div>
	
	<div class="control-textarea">
		<textarea name="contents" id="contents" class="redactor" data-imageup="http://<?php echo HOME?>/redactor/image" data-fileup="http://<?php echo HOME?>/redactor/file"></textarea>
	</div>
	
	<div class="control-group">
		<div class="controls pull-right">
			<button type="submit" name="submit" id="submit" class="btn">팝업추가</button>
		</div>
	</div>
</form>